home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / basic / apb17.zip / README < prev    next >
Text File  |  1991-02-26  |  8KB  |  226 lines

  1.         ApBasic Latest Features            Feb 26, 1991
  2.         ───────────────────────            ────────────
  3.  
  4.             (c) 1987-1990 Comptech Software and Consulting, Inc.
  5.                       By Keith Murray  Compuserve 71601,3673
  6.                                   (813) 980-2087
  7.  
  8.  
  9.   Nov 1,1987  Version 1.00
  10. Editor Changes:
  11.   ■ <Alt-N> can be used to change the current file name.
  12.  
  13.  
  14.   Dec 1,1987  Version 1.00a
  15. Editor Changes:
  16.   ■ A bug was fixed that corrupted the source program in the edit
  17.     buffer whenever a drop-down menu was used.
  18.  
  19.   Dec 18,1987  Version 1.1
  20. Language Changes:
  21.   ■ Line numbers are now accepted before statements as per normal BASICA.
  22.     They are also acceptable wherever a normal line label is used as well
  23.     as :
  24.     IF Expression THEN line.number
  25.  
  26.   ■ The VAL() function now recognizes &H, &O, &B and & preceding a number
  27.     and does the necessary conversion.
  28.  
  29.   ■ Included on the master diskette is a program called 'SOUND.INC'. This
  30.     file contains a SOUND procedure similiar to the BASICA SOUND statement.
  31.     The file can be included into a program using:
  32.  
  33.         $INCLUDE "SOUND.INC"
  34.  
  35.     There is a test program also on the master diskette called 'SIREN.BAS'
  36.     that demonstrates the SOUND statement.
  37.  
  38.   ■ Single precision floating point variables are now supported. Those
  39.     variables with a type character of '!' or defined as single precision
  40.     by using the DEFSNG statement occupy 4 bytes. All floating point math
  41.     is done in double precision. Single precision numbers are converted when
  42.     used or stored.
  43.  
  44.   ■ Four new functions were added to aid in reading and writing data files
  45.     that contain floating point numbers in the Microsoft format.
  46.  
  47. Summary:      CVDM(String$)
  48.  
  49. Description:  The String$ is a double precision floating point number in
  50.               the Microsoft format. The number returned is in IEEE format
  51.               used within ApBasic.
  52.  
  53. See Also:     CVSM()
  54.               CVD()
  55.               CVI()
  56.  _________________________________________________________________________
  57.  
  58. Summary:      CVSM(String$)
  59.  
  60. Description:  The String$ is a single precision floating point number in
  61.               the Microsoft format. The number returned is in IEEE format
  62.               used within ApBasic.
  63.  
  64. See Also:     CVDM()
  65.               CVD()
  66.               CVI()
  67.  _________________________________________________________________________
  68.  
  69. Summary:      MKDM$(Numeric)
  70.  
  71. Description:  This function returns an eight byte string that is the value
  72.               of the numeric expression converted to the Microsoft format.
  73.  
  74. See Also:     MKSM$()
  75.               MKD$()
  76.               MKI$()
  77.  ________________________________________________________________________
  78.  
  79. Summary:      MKSM$(Numeric)
  80.  
  81. Description:  This function returns a four byte string that is the value of
  82.               the numeric expression converted to the Microsoft format.
  83.  
  84. See Also:     MKDM$()
  85.               MKD$()
  86.               MKI$()
  87.  
  88.  
  89.   April 11,1988  Version 1.12
  90. Editor changes:
  91.   ■ When function keys were pressed with a menu dropped down, the screen
  92.     would be corrupted but the program was not disturbed.
  93.  
  94. Compiler changes:
  95.   ■ Metacommands are now allowed on lines with line numbers.
  96.   ■ String garbage collection routines were speeded up.
  97.   ■ Expression using OR/AND/XOR/SHL/SHR with non-integer types
  98.     would produce code that would crash if the expression was executed
  99.     many times (ie. loops).
  100.   ■ The FRE() function was not returning the correct amount of free string
  101.     space.
  102.  
  103.   October 1, 1990 Version 1.13
  104. Editor changes:
  105.   ■ Bug with on-line help would sometimes corrupt the display.
  106.   ■ The /M option can be used when starting ApBasic to force it to run
  107.     in monochrome mode. For example:
  108.        C:\>apb /m
  109.     This is for users who are running laptops that APB.EXE thinks is color
  110.     but is in reality a mono LCD screen.
  111.  
  112.   December 14, 1990 Version 1.5
  113. Editor changes:
  114.   ■ Some Wordstar keys are now accepted. The following are allowed:
  115.      ^A      : Word left
  116.      ^E ^D ^S ^X : Cursor up, right, left and down
  117.      ^R ^C     : Page up / Page down
  118.      ^F      : Word right
  119.      ^G      : Delete character under cursor
  120.      ^L      : Search again.
  121.      ^U      : Undelete line
  122.      ^Y      : Delete line
  123.      ^KD     : Save file and exit
  124.      ^KQ     : Exit
  125.      ^KR     : Append a file
  126.      ^KS     : Save file
  127.      ^KX     : Save and exit
  128.      ^QA     : Search and replace
  129.      ^QC     : End of file
  130.      ^QS ^QD     : Beginning and end of line
  131.      ^QF     : Search for a string
  132.      ^QR     : Beginning of file
  133.   
  134.   ■ Because of adding the WS keys, the Ctrl-R command that previously would
  135.     compile and run now is used to do Page Up. The F9 key is now 
  136.     assigned to the compile/run task. The 'Run' drop-down menu was 
  137.     changed to reflect this change.
  138.  
  139. Compiler changes:
  140.   ■ REM and REMARK are now allowed. Before, the only way to put a comment
  141.     into the program was to use a '. All are now valid.
  142.   ■ The ENV$() function was left out of the manual. It's definition follows.
  143.  
  144. Summary:      ENV$(String)
  145.  
  146. Description:  This function returns the evironment data for a given 
  147.           environment variable.
  148. Example:
  149.           print ENV$("COMSPEC")     ' print COMMAND.COM path
  150.  
  151.   ■ Fixed length strings are now supported. The data area for these variables
  152.     is shared with the numeric data. See following note about the DIM and
  153.     DEF/SUB command changes. Whenever data is assigned to a fixed length
  154.     string, the new data is padded with spaces or truncated to fit within
  155.     the declared size.
  156.   ■ Changes were made to various commands to allow variables to be declared
  157.     as a type without having to use the standard Basic type identifiers.
  158.     The DIM command has been changed as follows:
  159.     
  160.     DIM X AS INTEGER     ' X is an integer variable
  161.     DIM Y(1 to 10) as SINGLE ' Y is an array of 10 single precision #'s
  162.     DIM S AS STRING      ' S is a variable length string
  163.     DIM T AS STRING * 10     ' T is a fixed length string of 10 characters
  164.  
  165.     The DEF/SUB declarations can now define the type of data being returned
  166.     from the DEF and the type of parameters being passed. For example:
  167.  
  168.     DEF F(X AS INTEGER) AS SINGLE
  169.         ' Code goes here
  170.     END DEF
  171.     SUB S(A(1) AS STRING * 10)
  172.         ' Code goes here
  173.     END SUB
  174.  
  175.     The F() function takes a single integer parameter and returns a single
  176.     precision number. The S subprogram takes an array of 10 character fixed
  177.     length strings.
  178.  
  179.   ■ Several bugs were corrected in the debugger. If LOCAL, STATIC or SHARED
  180.     variables were used in a SUB or DEF and the debugger option was selected,
  181.     the compile would crash. The debugger also had problems with finding
  182.     variables.
  183.  
  184.  
  185.   January 23, 1991 Version 1.6
  186. Editor changes:
  187.   ■ Bug was fixed when loading programs with long lines. The size of the
  188.     longest line was increased from 180 to 255.
  189.   
  190.   ■ Fixed editor help screen to reflect KBD changes made in last version.
  191.  
  192.   ■ Fixed problem that caused lines to be highlighted while scrolling through
  193.     the program.
  194.  
  195.   ■ The Search and Search Again would not position the cursor correctly when
  196.     they found text past column 80.
  197.  
  198. Compiler changes:
  199.   ■ The GOSUB command was enhanced to be more like GWBasic. Multiple labels
  200.     can be specified by:
  201.  
  202.     GOSUB LABEL1, LABEL2,.., LABELn
  203.   
  204.   ■ The ON ERROR GOTO statement now accepts a number as a line label.
  205.  
  206.   ■ The RETURN statement would fail if used in the following IF statement:
  207.  
  208.     IF (expression) then RETURN else (statement)
  209.  
  210.     The ELSE would be signaled as an error.
  211.  
  212.   ■ Bug in compiler would generate bad code for a unary operation. For example:
  213.     M%=-25 : PRINT -M%
  214.     This prints "24" instead of "25".
  215.  
  216.   February 26, 1991 Version 1.7
  217. New Files:
  218.   ■ A new program was added to the system. STRIPHLP.BAS will create a APB.DOC
  219.     file from the APB.HLP file. The file can be sent to the printer. A form
  220.     feed is output after each statement or function.
  221.  
  222. Compiler changes:
  223.   ■ A bug was introduced in 1.5 that would build incorrect .EXE files.
  224.  
  225.  
  226.